package cn.recyclerview;

import android.support.annotation.NonNull;
import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

class StuViewHolder extends RecyclerView.ViewHolder {
    public StuViewHolder(View itemView) {
        super(itemView);

        headImg = itemView.findViewById(R.id.head_view);
        nameView = itemView.findViewById(R.id.name_view);
        ageView = itemView.findViewById(R.id.age_view);
        delView = itemView.findViewById(R.id.del_view);
        view = itemView;
    }

    View view;
    ImageView headImg;
    TextView nameView;
    TextView ageView;
    ImageView delView;
}
